function saveCurLayout() {
	var data = {};
	// 列对应关系
	var columnKeyMap = {
		1 : 'leftThin',
		2 : 'wide',
		3 : 'rightThin'
	};
	var rootLayout = model.layout;
	switch (rootLayout) {// 如果落写了break，问题会很大的哦
		case "W" :
			columnKeyMap = {
				1 : 'wide'
			}
			break;
		case "TWT" :
			columnKeyMap = {
				1 : 'leftThin',
				2 : 'wide',
				3 : 'rightThin'
			};
			break;
		case "TW" :
			columnKeyMap = {
				1 : 'leftThin',
				2 : 'wide'
			};
			break;
		case "WT" :
			columnKeyMap = {
				1 : 'wide',
				2 : 'rightThin'
			};
			break;
		default :
			break;
	}
	for (var i = 1; i <= portalPanel.layoutInfo.columns; i++) {
		var c = Ext.getCmp("column111" + i);// Ext.getCmp() 获取列
		c.items.each(function(portlet) { // 遍历每列的portlet
					var curPortletName = null;
					var key = columnKeyMap[i];
					data[key] = data[key] || [];
					var point = portlet.name.indexOf("@");
					if (point > 0) {
						var tmpStr = portlet.name;
						curPortletName = tmpStr.substring(point + 1);
						data[key].push(curPortletName); // channel name
					} else {
						curPortletName = portlet.name;
						data[key].push(curPortletName); // channel name
					}
					// curPortName
					// data[key].push(curPortletName); // channel name
				});
	}
	// 这一段补齐，当删除整个一列时的情况
	for (p in columnKeyMap) {
		var key = columnKeyMap[p];
		data[key] = data[key] || [];
	}
	var layoutData = Ext.encode(data); // 布局信息
	var postUrl = model.treeModelUrl;
	Ext.MessageBox.wait("正在处理⋯⋯", "请稍候");
	Ext.Ajax.request({
				url : model.treeModelUrl,
				method : 'post',
				headers : 'Content-Type: text/json',
				jsonData : layoutData,
				success : function(response, op) {
					Ext.Msg.alert("提示：", "布局编辑保存成功！");
				},
				failure : function(response, op) {
					Ext.Msg.alert('错误', response.responseText);
				}
			});
}